// Storage.h: interface for the CStorage class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_STORAGE_H__5747C127_704D_11D4_A591_008029E8269F__INCLUDED_)
#define AFX_STORAGE_H__5747C127_704D_11D4_A591_008029E8269F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CStorage  
{
protected:
	CStorage();
public:
	CStorage(LPCSTR sSection);
	virtual ~CStorage();
private:
  HKEY m_hKey;
public:
	virtual void Get(LPCSTR sName,LPCSTR sDefault,LPSTR sVal,int cb)const ;
	virtual int  Get(LPCSTR sName,int nDefault)const ;
  void GetCombo(LPCSTR sName,HWND hWnd,int MaxCount)const ;

	virtual void Put(LPCSTR sName,LPCSTR sVal);
	virtual void Put(LPCSTR sName,int nVal);
	void PutCombo(LPCSTR sName,HWND hWnd,int MaxCount);


};

#endif // !defined(AFX_STORAGE_H__5747C127_704D_11D4_A591_008029E8269F__INCLUDED_)
